import requests

response = requests.request('GET','http://localhost:8081/ttt')
print(response.status_code)
print(response.content)
print(response.text)


print(response)
print(response.history)
print(response.headers)
print(response.url)
print(response.cookies)
# print(response.json())